package com.quanyan.user.model.vo.request;

import com.quanyan.BaseRequest;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created by zhang on 16/11/24.
 */
public class ReqGetUser extends BaseRequest implements Serializable {

    @NotNull
    private int type;

    private String openId;

    private String unionId;

    private String phone;

    private String validCode;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getValidCode() {
        return validCode;
    }

    public void setValidCode(String validCode) {
        this.validCode = validCode;
    }

    @Override
    public String toString() {
        return "ReqGetUser{" +
                "type=" + type +
                ", openId='" + openId + '\'' +
                ", unionId='" + unionId + '\'' +
                ", phone='" + phone + '\'' +
                ", validCode='" + validCode + '\'' +
                '}';
    }
}
